def reverse_words(sentence):
    # 按空格分割句子成单词列表
    words = sentence.split()
    # 反转单词列表
    reversed_words = words[::-1]
    # 将反转后的单词列表重新拼接成一个字符串
    reversed_sentence = ' '.join(reversed_words)
    return reversed_sentence

# 测试示例
input_sentence = "Python is a little bit difficult to learn"
output_sentence = reverse_words(input_sentence)
print(output_sentence)  